package com.orhonit.ipb.portal.mapper;

import java.util.List;
import java.util.Map;

import com.orhonit.ipb.portal.entity.TbPartyMemberBaseInfo;
import com.orhonit.ipb.security.common.mapper.CommonMapper;

import tk.mybatis.mapper.common.Mapper;

/**
 * 党员基础信息表
 * 
 * @author caodw
 * @email caodw@qq.com
 * @version 2018-04-23 11:23:42
 */
public interface TbPartyMemberBaseInfoMapper extends CommonMapper<TbPartyMemberBaseInfo> {
	/**
	 * 通过用户id更新所在支部
	 * @param map placePartyBranch userId
	 * @return
	 */
	Integer updateTbPartyMemberBaseInfoDeptByUserId(Map<String, Object> map);
	
	
	/**
	 * 通过用户id更新党员状态
	 * @param map pmType userId
	 * @return
	 */
	Integer updateTbPartyMemberBaseInfopmTypeByUserId(Map<String, Object> map);
}
